package com.hydra.base.config;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.hydra")
@EnableFeignClients(basePackages = {"com.hydra"})
// 指定要扫描的Mapper类的包的路径
@MapperScans(value = {@MapperScan("com.hydra.**.mapper")})
public class ApplicationConfig {
}
